<?php

namespace App\Http\Controllers\home;

use Illuminate\Http\Request;

use App\Http\Requests;
use App\Http\Controllers\Controller;
use DB;
class WelcomeController extends Controller
{
    public function index(){
        $data = DB::table('user_photo') ->where('photo_status','1')->get();
        return view('welcome',['data'=>$data]);
    }
}
